package com.cdck.safe.dete.model.entity;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
/**
 * (ActivityUser)实体类
 *
 * @author wp
 * @since 2024-02-26 22:59:21
 */
@TableName(value ="activity_user")
@Data
public class ActivityUser implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "activity_user_id", type = IdType.AUTO)
    private Long activityUserId;

    /**
     * 活动id
     */
    @TableField(value = "activity_id")
    private String activityId;

    /**
     * 学生id
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 创建人
     */
    @TableField(value = "create_by",fill = FieldFill.INSERT)
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by",fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}

